package com.myk.game.ghosts.pages;

import android.content.Context;

import androidx.annotation.NonNull;

import com.myk.game.ghosts.databinding.PageGameBinding;
import com.myk.game.ghosts.interfaces.IMainController;
import com.myk.game.lib.base.AbsBasePage;

/**
 * 游戏页
 */
public class GamePage extends AbsBasePage<PageGameBinding> {

    private final IMainController controller;

    public GamePage(@NonNull Context context) {
        super(context);
        this.controller = (IMainController) context;
        binding.tvJumpToHome.setOnClickListener(v -> controller.jumpHomePage());
    }

}
